package info.lumanman.switchdatabase.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import info.lumanman.switchdatabase.one.dao.UserDetailDao;
import info.lumanman.switchdatabase.one.entry.UserDetail;
import info.lumanman.switchdatabase.service.UserDetailService;

@Service("userDetailService")
public class UserServiceDetailImpl implements UserDetailService {

	@Autowired
	private UserDetailDao userDetailDao;
	

	@Override
	public int saveUserDetail(UserDetail userDetail) {
		 int result=userDetailDao.saveUserDetail(userDetail);
		 return result;
	}

}
